Fixed 1.03 bugs 1. Fixed a rare CTD on DoW by Axis member to Allies when both alliances are already at war. 1.03 RC1 bug 2. Fixed bug in the "join a major alliance on DoW by another major alliance" logic preventing countries to enter the Axis when DoWed by Allies. 1.03 RC1 bug 3. Fixed a bug with the new land combat system where better combat modifiers resulted in heavier losses. 1.03 RC1 bug 4. Fixed a bug with invalid country ID in relations after change tag or country annex/release in the same game session. 1.03 RC1 bug 5. Fixed issues with alliance command not working in some cases. 1.03 RC2 bug 6. Show correct land brigade speeds when produced individually (was always 0 before). 1.03 RC1 bug 7. Fixed CTD on port takeover when there are empty fleets there and the player has these selected. 1.03 RC1 bug 8. Fixed issue with missing brigade/unit stats upgrade on change by event command if these are into the redeployment pool of the own country and have own original country TAG set. 1.03 bug 9. Fixed not properly working in some cases feature (Reclaim and return all expeditionary forces on alliance leave or alliance dissolve. Fixes various issues with troops left under command of another country indefinitely.). 1.03 RC1 bug 10. Added new parameter to custom unit types definition: ui_prio = Number # Sort priority for divisions in unit UI (highest first). Addition to #1194 (Implemented custom unit types) 11. Fixed a bug with countries not declaring war to emerging rebel countries. 1.03 RC2 bug New features or old bugs fixed: 1. Fixed game lag issue when AI tries to rebase to inaccessible port. 2. Fixed a cosmetic issue with land unit speed shown under leader picture (it was 25% higher then the real unit speed). 3. Disabled "Join Alliance" diplomatic action when target country is not the alliance leader. 4. Improved desired naval combat range calculation by excluding disorganised and non-combat ships in fleets. 5. Disorganised carriers and bombers cannot do damage to buildings anymore. 6. Improved DoW logic when a member in alliance declares war to a country that is already at war with another allied country or vice versa. Countries join the existing war, instead of making a new one. 7. UI – fixed missing highlight on Weather Map button when selected. 8. Fixed a rare bug where an unit that is attacking in 2 provinces at the same time (after a rebellion in the current province while attacking another one) wrongly retreats to an enemy province when losing both battles and vanish on arrival. 9. Fixed a bug in production AI incorrectly building brigade types with no (0.0%) build priority set in AI files. 10. Fixed a bug with production AI overriding "max_factor" construction setting when "Do not start producing any new units when more then THIS percentage of the total IC is needed to supply existing units (0.0 to 1.0; 1.0 = 100%, disabled). Enabling this will encourage AI to build more IC when this ratio is exceeded." misc.txt setting is enabled even when "ic_end_year" is exceeded (incorrectly making all IC available for other constructions and convoys). 11. Changed GDE to apply to "Base chance of Land units to avoid hit if no defences left" too. 12. Fixed puppets to end all old alliance wars when leaving an alliance after the master. 13. Changed rebel units to use attack (as any other AI or player controlled countries do) instead of move order when moving to another province. Retreating rebel units no longer are allowed to change mission. 14. Fixed a rare bug with vanishing land units when participating in 2 land combats at the same time (one attacking and one defending) and losing any of those. 15. Fixed issues (missing airbase tooltip and selecting by a click on the base sprite) with air unit based in countries granting only military access. 16. Cancel (no longer valid) ongoing unit moves to neutral provinces after peace deals. 17. Fixed a bug where land units can be loaded to non-allied ships in ports in provinces with just Military Access to province controller. 18. Fixed a bug in multiplayer games where units given as expeditionary forces from host to clients change ownership permanently upon redeployment. 19. Set proper division stats on divisions transferred from deployment pool from one country to another on civil war start. 20. Return deployed or into the redeployment pool expeditionary forces to ex-allied countries on peace, war declarations and alliance changes. 21. Improved maintenance of original unit owner on change of controlling country. 22. Preserved current intelligence level on TAG change. 23. Fixed a bug with Support Defense mission not cleared when combat ends. 24. Fixed a bug with fleets remaining trapped in ports on province capture if escape sea zone is controlled by the same province (Suez, Panama etc.). 25. Fixed a rare CTD when an unit is deleted while in the list of selected by the player units. 26. Fixed a bug with missing messages when non-empty army, fleet or air unit is killed (captured) by the enemy. 27. Support defense and Planned defense missions no longer can be set to impassable provinces. 28. Fixed a bug with Shore bombardment mission not available to own controlled provinces if the country is not allied to someone. 29. Fixed a bug with lagging behind or missing production queue refresh after an item priority change for clients in MP games. 30. Fixed land and coastal fort bonuses to be applied only to province controller when defending. Previously those were applied to the defender even when not controlling the province (after rebel pop-up for example). 31. Fixed incorrect strength bar for side in combat when 2 or more units participate on the same side. 32. Fixed a bug with random unit merge after redeployment. Addresses many issues including permanent change of divisions ownership. 33. Allowed AI puppets to become AI front area leaders. 34. Fixed a bug with incorrect country specific division stats (added by techs, events etc.) on upgrade if the division is in control of another country (stats form the controlling country are applied instead from the own one). 35. Fixed a bug with not properly used chance to target divisions with no ORG left in land combats (misc.txt modifier). 36. Fixed a bug with own units not upgrading when in the redeployment pool. 37. Fixed issue with random events firing for all countries when TAG = { ... } list is used, instead of firing only for countries in that list. 38. Fixed stacking penalty calculation in naval combats to count all friendly ships in the combat instead of counting only own ships. 39. Improved strength, demobilize, strength_cap commands to ensure that these will be applied to all own units even it those are currently controlled by non-friendly nation. 40. Fixed a bug with AI being able to redeploy units when Strategic Redeployment mission type is not available for the country. 41. Fixed a bug with improperly applied and used max base province revolt risk modifier (misc.txt). 42. Added missing sunk ships list after air attacks. 43. Improved province tooltip on “Economy” map mode to include max produced resources of any kind (only current and base values shown before). 44. Added tooltip about policy slider effects on the next step even when this move is not allowed currently. 45. Improved Merge Air unit tool-tip (UIW_MERGE_AIR_DIS_IRO) text to show the correct max air unit size as set in misc.txt. 46. Enabled (only in debug mode as it is redundant in most cases) the missing message about sent expeditionary forces between non-enemy countries. 47. Improved incabinet trigger tool-tip text by adding government position for minister next to his name. TC_IN_CABINET and TCNOT_IN_CABINET strings should be updated in mods! 48. Introduced 2 new AI front settings used to determine the front leader for fronts in areas controlled by multiple AI countries: - front_leader_home – used when calculated for areas direct land connection through allied or own controlled provinces to the capital. Default is 5 - front_leader_overseas – used when calculated for areas with no direct land connection through allied or own controlled provinces to the capital. Default is 0 49. Sort divisions not only by type, but also by model on unit view panel. 50. Log to events history events with no country that have tag = { } list defined. 51. Tweaked secede, secedearea and secederegion commands when used with which = -1 switch to ignore provinces currently controlled by rebels. 52. Extended alliance event command with a new parameter (when = 0/1/2). 53. Improved leave_alliance event command by adding another parameter (when = 0/1). 54. Report provinces with Naval Base, but without port allowed 55. Report invalid attachments to divisions in scenario files 56. Added missing battle reports after naval and land bombings. Active only when casualties' reports are enabled 57. Fixed a bug with incorrectly triggered events on game start. 58. Fixed an issue with oversea provinces and fleets stationed in foreign ports that can be given at random to ex-alliance leader when a country is made puppet of another country. 59. Fixed an issue with "Load AI files from Moddir only" misc.txt setting usage. 60. Fixed an issue with AI not accounting for blocked strait when attacking, sometimes resulting in attacks/cancel attacks cycle to a wrong province. 61. Fixed an issue with naval combats range calculation. 62. Fixed a bug with custom alliance names resulting in crash on scenario end when used. 63. Report inaccessible ai files used by "ai" event command 64. Report missing province owner or controller